import thenFs from "then-fs";
const promiseare=[
    thenFs.readFile('./1.txt','utf8'),
    thenFs.readFile('./2.txt','utf8'),
    thenFs.readFile('./3.txt','utf8'),
]
// promise.race()竞速读取，all()全部读取
Promise.all(promiseare).then(result=>{
    console.log(result)
})